`timescale 1 ps/ 1 ps

module top (
  PIN_15,
  PIN_16,
  PIN_17,
  PIN_23,
  PIN_24,
  PIN_25,
  PIN_26,
  PIN_29,
  PIN_30,
  PIN_31,
  PIN_33,
  PIN_34,
  PIN_35,
  PIN_37,
  PIN_38,
  PIN_39,
  PIN_40,
  PIN_41,
  PIN_42,
  PIN_43,
  PIN_44,
  PIN_45,
  PIN_47,
  PIN_51,
  PIN_52,
  PIN_53,
  PIN_54,
  PIN_56,
  PIN_57,
  PIN_58,
  PIN_59,
  PIN_61,
  PIN_62,
  PIN_HSE,
  PIN_HSI,
  PIN_OSC
);
output PIN_15;
output PIN_16;
inout PIN_17;
inout PIN_23;
output PIN_24;
inout PIN_25;
inout PIN_26;
inout PIN_29;
inout PIN_30;
inout PIN_31;
inout PIN_33;
output PIN_34;
output PIN_35;
inout PIN_37;
inout PIN_38;
inout PIN_39;
inout PIN_40;
inout PIN_41;
output PIN_42;
inout PIN_43;
output PIN_44;
inout PIN_45;
inout PIN_47;
inout PIN_51;
inout PIN_52;
output PIN_53;
inout PIN_54;
inout PIN_56;
inout PIN_57;
input PIN_58;
output PIN_59;
output PIN_61;
input PIN_62;
input PIN_HSE;
input PIN_HSI;
input PIN_OSC;

// GPIO3_0, GPIO3_0
assign PIN_17_in = PIN_17;
wire PIN_17_out_en;
wire PIN_17_out_data;
assign PIN_17 = PIN_17_out_en ? PIN_17_out_data : 1'bz;

// SPI1_HOLDN_IO3, GPIO0_7
assign PIN_23_in = PIN_23;
wire PIN_23_out_en;
wire PIN_23_out_data;
assign PIN_23 = PIN_23_out_en ? PIN_23_out_data : 1'bz;

// SPI1_SCK, GPIO4_7
wire PIN_24_out_en;
wire PIN_24_out_data;
assign PIN_24 = PIN_24_out_en ? PIN_24_out_data : 1'bz;

// SPI1_SI_IO0, GPIO0_4
assign PIN_25_in = PIN_25;
wire PIN_25_out_en;
wire PIN_25_out_data;
assign PIN_25 = PIN_25_out_en ? PIN_25_out_data : 1'bz;

// SPI1_WPN_IO2, GPIO0_6
assign PIN_26_in = PIN_26;
wire PIN_26_out_en;
wire PIN_26_out_data;
assign PIN_26 = PIN_26_out_en ? PIN_26_out_data : 1'bz;

// GPIO3_1, GPIO3_1
assign PIN_29_in = PIN_29;
wire PIN_29_out_en;
wire PIN_29_out_data;
assign PIN_29 = PIN_29_out_en ? PIN_29_out_data : 1'bz;

// I2C0_SDA, GPIO3_5
assign PIN_30_in = PIN_30;
wire PIN_30_out_en;
wire PIN_30_out_data;
assign PIN_30 = PIN_30_out_en ? PIN_30_out_data : 1'bz;

// I2C0_SCL, GPIO3_4
assign PIN_31_in = PIN_31;
wire PIN_31_out_en;
wire PIN_31_out_data;
assign PIN_31 = PIN_31_out_en ? PIN_31_out_data : 1'bz;

// SPI1_SO_IO1, GPIO0_5
assign PIN_33_in = PIN_33;
wire PIN_33_out_en;
wire PIN_33_out_data;
assign PIN_33 = PIN_33_out_en ? PIN_33_out_data : 1'bz;

// SPI1_CSN, GPIO5_0
wire PIN_34_out_en;
wire PIN_34_out_data;
assign PIN_34 = PIN_34_out_en ? PIN_34_out_data : 1'bz;

// GPIO6_5, GPIO6_5
assign PIN_37_in = PIN_37;
wire PIN_37_out_en;
wire PIN_37_out_data;
assign PIN_37 = PIN_37_out_en ? PIN_37_out_data : 1'bz;

// GPIO6_4, GPIO6_4
assign PIN_38_in = PIN_38;
wire PIN_38_out_en;
wire PIN_38_out_data;
assign PIN_38 = PIN_38_out_en ? PIN_38_out_data : 1'bz;

// GPIO6_2, GPIO6_2
assign PIN_39_in = PIN_39;
wire PIN_39_out_en;
wire PIN_39_out_data;
assign PIN_39 = PIN_39_out_en ? PIN_39_out_data : 1'bz;

// GPIO6_0, GPIO6_0
assign PIN_40_in = PIN_40;
wire PIN_40_out_en;
wire PIN_40_out_data;
assign PIN_40 = PIN_40_out_en ? PIN_40_out_data : 1'bz;

// GPIO6_6, GPIO6_6
assign PIN_41_in = PIN_41;
wire PIN_41_out_en;
wire PIN_41_out_data;
assign PIN_41 = PIN_41_out_en ? PIN_41_out_data : 1'bz;

// SPI0_CSN, GPIO4_6
wire PIN_42_out_en;
wire PIN_42_out_data;
assign PIN_42 = PIN_42_out_en ? PIN_42_out_data : 1'bz;

// SPI0_SO_IO1, GPIO0_1
assign PIN_43_in = PIN_43;
wire PIN_43_out_en;
wire PIN_43_out_data;
assign PIN_43 = PIN_43_out_en ? PIN_43_out_data : 1'bz;

// SPI0_SCK, GPIO4_5
wire PIN_44_out_en;
wire PIN_44_out_data;
assign PIN_44 = PIN_44_out_en ? PIN_44_out_data : 1'bz;

// SPI0_SI_IO0, GPIO0_0
assign PIN_45_in = PIN_45;
wire PIN_45_out_en;
wire PIN_45_out_data;
assign PIN_45 = PIN_45_out_en ? PIN_45_out_data : 1'bz;

// SPI0_HOLDN_IO3, GPIO0_3
assign PIN_47_in = PIN_47;
wire PIN_47_out_en;
wire PIN_47_out_data;
assign PIN_47 = PIN_47_out_en ? PIN_47_out_data : 1'bz;

// GPIO4_1, GPIO4_1
assign PIN_51_in = PIN_51;
wire PIN_51_out_en;
wire PIN_51_out_data;
assign PIN_51 = PIN_51_out_en ? PIN_51_out_data : 1'bz;

// GPIO4_2, GPIO4_2
assign PIN_52_in = PIN_52;
wire PIN_52_out_en;
wire PIN_52_out_data;
assign PIN_52 = PIN_52_out_en ? PIN_52_out_data : 1'bz;

// SPI0_WPN_IO2, GPIO0_2
assign PIN_54_in = PIN_54;
wire PIN_54_out_en;
wire PIN_54_out_data;
assign PIN_54 = PIN_54_out_en ? PIN_54_out_data : 1'bz;

// GPIO4_3, GPIO4_3
assign PIN_56_in = PIN_56;
wire PIN_56_out_en;
wire PIN_56_out_data;
assign PIN_56 = PIN_56_out_en ? PIN_56_out_data : 1'bz;

// GPIO4_4, GPIO4_4
assign PIN_57_in = PIN_57;
wire PIN_57_out_en;
wire PIN_57_out_data;
assign PIN_57 = PIN_57_out_en ? PIN_57_out_data : 1'bz;

// UART0_UARTRXD, GPIO6_1
assign PIN_58_in = PIN_58;

// UART0_UARTTXD, GPIO7_6
wire PIN_59_out_en;
wire PIN_59_out_data;
assign PIN_59 = PIN_59_out_en ? PIN_59_out_data : 1'bz;

// UART1_UARTTXD, GPIO8_0
wire PIN_61_out_en;
wire PIN_61_out_data;
assign PIN_61 = PIN_61_out_en ? PIN_61_out_data : 1'bz;

// UART1_UARTRXD, GPIO6_3
assign PIN_62_in = PIN_62;

// HSE clock
assign PIN_HSE_in = PIN_HSE;

// HSI clock
assign PIN_HSI_in = PIN_HSI;

// OSC clock
assign PIN_OSC_in = PIN_OSC;

wire [4:0] PLL_CLKOUT;
(* keep = 1 *) wire       sys_resetn;
(* keep = 1 *) wire       sys_ctrl_stop;
(* keep = 1 *) wire [1:0] sys_ctrl_clkSource;
(* keep = 1 *) wire       PLL_ENABLE;
(* keep = 1 *) wire       PLL_LOCK;

altpll pll_inst (
  .areset(!PLL_ENABLE),
  .inclk (PIN_HSE_in),
  .clk   (PLL_CLKOUT),
  .locked(PLL_LOCK));
defparam pll_inst.bandwidth_type          = "AUTO";
defparam pll_inst.clk0_divide_by          = 8;
defparam pll_inst.clk0_multiply_by        = 80;
defparam pll_inst.clk0_phase_shift        = "0";
defparam pll_inst.clk1_divide_by          = 8;
defparam pll_inst.clk1_multiply_by        = 80;
defparam pll_inst.clk1_phase_shift        = "0";
defparam pll_inst.clk2_divide_by          = 8;
defparam pll_inst.clk2_multiply_by        = 80;
defparam pll_inst.clk2_phase_shift        = "0";
defparam pll_inst.clk3_divide_by          = 80;
defparam pll_inst.clk3_multiply_by        = 80;
defparam pll_inst.clk3_phase_shift        = "0";
defparam pll_inst.clk4_divide_by          = 8;
defparam pll_inst.clk4_multiply_by        = 80;
defparam pll_inst.clk4_phase_shift        = "0";
defparam pll_inst.compensate_clock        = "CLK0";
defparam pll_inst.inclk0_input_frequency  = 125000;
defparam pll_inst.lpm_type                = "altpll";
defparam pll_inst.operation_mode          = "NORMAL";
defparam pll_inst.pll_type                = "AUTO";
defparam pll_inst.intended_device_family  = "Cyclone IV E";
defparam pll_inst.port_areset             = "PORT_USED";
defparam pll_inst.port_inclk0             = "PORT_USED";
defparam pll_inst.port_locked             = "PORT_USED";
defparam pll_inst.port_clk0               = "PORT_USED";
defparam pll_inst.port_clk1               = "PORT_UNUSED";
defparam pll_inst.port_clk2               = "PORT_UNUSED";
defparam pll_inst.port_clk3               = "PORT_USED";
defparam pll_inst.port_clk4               = "PORT_UNUSED";
defparam pll_inst.width_clock             = 5;

wire sys_gck;
assign bus_clk = PLL_CLKOUT[3];

// Location: BBOX_X22_Y4_N0 FIXED_COORD
alta_gclksw gclksw_inst (
    .resetn(sys_resetn),
    .ena   (1'b1),
    .clkin0(PIN_HSI_in),
    .clkin1(PIN_HSE_in),
    .clkin2(PLL_CLKOUT[0]),
    .clkin3(),
    .select(sys_ctrl_clkSource),
    .clkout(sys_clk));
assign sys_gck = sys_clk;

(* keep = 1 *) wire [1:0]  mem_ahb_htrans;
(* keep = 1 *) wire        mem_ahb_hready;
(* keep = 1 *) wire        mem_ahb_hwrite;
(* keep = 1 *) wire [31:0] mem_ahb_haddr;
(* keep = 1 *) wire [2:0]  mem_ahb_hsize;
(* keep = 1 *) wire [2:0]  mem_ahb_hburst;
(* keep = 1 *) wire [31:0] mem_ahb_hwdata;
(* keep = 1 *) wire        mem_ahb_hreadyout;
(* keep = 1 *) wire        mem_ahb_hresp;
(* keep = 1 *) wire [31:0] mem_ahb_hrdata;

(* keep = 1 *) wire        slave_ahb_hsel;
(* keep = 1 *) wire        slave_ahb_hready;
(* keep = 1 *) wire        slave_ahb_hreadyout;
(* keep = 1 *) wire [1:0]  slave_ahb_htrans;
(* keep = 1 *) wire [2:0]  slave_ahb_hsize;
(* keep = 1 *) wire [2:0]  slave_ahb_hburst;
(* keep = 1 *) wire        slave_ahb_hwrite;
(* keep = 1 *) wire [31:0] slave_ahb_haddr;
(* keep = 1 *) wire [31:0] slave_ahb_hwdata;
(* keep = 1 *) wire        slave_ahb_hresp;
(* keep = 1 *) wire [31:0] slave_ahb_hrdata;

(* keep = 1 *) wire [3:0]  ext_dma_DMACBREQ;
(* keep = 1 *) wire [3:0]  ext_dma_DMACLBREQ;
(* keep = 1 *) wire [3:0]  ext_dma_DMACSREQ;
(* keep = 1 *) wire [3:0]  ext_dma_DMACLSREQ;
(* keep = 1 *) wire [3:0]  ext_dma_DMACCLR;
(* keep = 1 *) wire [3:0]  ext_dma_DMACTC;
(* keep = 1 *) wire [3:0]  local_int;

LightV3_ip macro_inst(
  .TM3130_DIN         (PIN_35             ),
  .TM3130_DIN2        (PIN_53             ),
  .TM3130_DIN3        (PIN_15             ),
  .TM3130_DIN4        (PIN_16             ),
  .sys_clock          (sys_gck            ),
  .bus_clock          (bus_clk            ),
  .resetn             (sys_resetn         ),
  .stop               (sys_ctrl_stop      ),
  .mem_ahb_htrans     (mem_ahb_htrans     ),
  .mem_ahb_hready     (mem_ahb_hready     ),
  .mem_ahb_hwrite     (mem_ahb_hwrite     ),
  .mem_ahb_haddr      (mem_ahb_haddr      ),
  .mem_ahb_hsize      (mem_ahb_hsize      ),
  .mem_ahb_hburst     (mem_ahb_hburst     ),
  .mem_ahb_hwdata     (mem_ahb_hwdata     ),
  .mem_ahb_hreadyout  (mem_ahb_hreadyout  ),
  .mem_ahb_hresp      (mem_ahb_hresp      ),
  .mem_ahb_hrdata     (mem_ahb_hrdata     ),
  .slave_ahb_hsel     (slave_ahb_hsel     ),
  .slave_ahb_hready   (slave_ahb_hready   ),
  .slave_ahb_hreadyout(slave_ahb_hreadyout),
  .slave_ahb_htrans   (slave_ahb_htrans   ),
  .slave_ahb_hsize    (slave_ahb_hsize    ),
  .slave_ahb_hburst   (slave_ahb_hburst   ),
  .slave_ahb_hwrite   (slave_ahb_hwrite   ),
  .slave_ahb_haddr    (slave_ahb_haddr    ),
  .slave_ahb_hwdata   (slave_ahb_hwdata   ),
  .slave_ahb_hresp    (slave_ahb_hresp    ),
  .slave_ahb_hrdata   (slave_ahb_hrdata   ),
  .ext_dma_DMACBREQ   (ext_dma_DMACBREQ   ),
  .ext_dma_DMACLBREQ  (ext_dma_DMACLBREQ  ),
  .ext_dma_DMACSREQ   (ext_dma_DMACSREQ   ),
  .ext_dma_DMACLSREQ  (ext_dma_DMACLSREQ  ),
  .ext_dma_DMACCLR    (ext_dma_DMACCLR    ),
  .ext_dma_DMACTC     (ext_dma_DMACTC     ),
  .local_int          (local_int          )
);

(* keep = 1 *) wire [7:0] gpio0_io_out_data;
(* keep = 1 *) wire [7:0] gpio0_io_out_en;
assign PIN_45_out_data = gpio0_io_out_data[0];
assign PIN_45_out_en = gpio0_io_out_en[0];
assign PIN_43_out_data = gpio0_io_out_data[1];
assign PIN_43_out_en = gpio0_io_out_en[1];
assign PIN_54_out_data = gpio0_io_out_data[2];
assign PIN_54_out_en = gpio0_io_out_en[2];
assign PIN_47_out_data = gpio0_io_out_data[3];
assign PIN_47_out_en = gpio0_io_out_en[3];
assign PIN_25_out_data = gpio0_io_out_data[4];
assign PIN_25_out_en = gpio0_io_out_en[4];
assign PIN_33_out_data = gpio0_io_out_data[5];
assign PIN_33_out_en = gpio0_io_out_en[5];
assign PIN_26_out_data = gpio0_io_out_data[6];
assign PIN_26_out_en = gpio0_io_out_en[6];
assign PIN_23_out_data = gpio0_io_out_data[7];
assign PIN_23_out_en = gpio0_io_out_en[7];
(* keep = 1 *) wire [7:0] gpio0_io_in = {PIN_23_in, PIN_26_in, PIN_33_in, PIN_25_in, PIN_47_in, PIN_54_in, PIN_43_in, PIN_45_in};

(* keep = 1 *) wire [7:0] gpio1_io_out_data;
(* keep = 1 *) wire [7:0] gpio1_io_out_en;
(* keep = 1 *) wire [7:0] gpio1_io_in = {1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0};

(* keep = 1 *) wire [7:0] gpio2_io_out_data;
(* keep = 1 *) wire [7:0] gpio2_io_out_en;
(* keep = 1 *) wire [7:0] gpio2_io_in = {1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0};

(* keep = 1 *) wire [7:0] gpio3_io_out_data;
(* keep = 1 *) wire [7:0] gpio3_io_out_en;
assign PIN_17_out_data = gpio3_io_out_data[0];
assign PIN_17_out_en = gpio3_io_out_en[0];
assign PIN_29_out_data = gpio3_io_out_data[1];
assign PIN_29_out_en = gpio3_io_out_en[1];
assign PIN_31_out_data = gpio3_io_out_data[4];
assign PIN_31_out_en = gpio3_io_out_en[4];
assign PIN_30_out_data = gpio3_io_out_data[5];
assign PIN_30_out_en = gpio3_io_out_en[5];
(* keep = 1 *) wire [7:0] gpio3_io_in = {1'b0, 1'b0, PIN_30_in, PIN_31_in, 1'b0, 1'b0, PIN_29_in, PIN_17_in};

(* keep = 1 *) wire [7:0] gpio4_io_out_data;
(* keep = 1 *) wire [7:0] gpio4_io_out_en;
assign PIN_51_out_data = gpio4_io_out_data[1];
assign PIN_51_out_en = gpio4_io_out_en[1];
assign PIN_52_out_data = gpio4_io_out_data[2];
assign PIN_52_out_en = gpio4_io_out_en[2];
assign PIN_56_out_data = gpio4_io_out_data[3];
assign PIN_56_out_en = gpio4_io_out_en[3];
assign PIN_57_out_data = gpio4_io_out_data[4];
assign PIN_57_out_en = gpio4_io_out_en[4];
assign PIN_44_out_data = gpio4_io_out_data[5];
assign PIN_44_out_en = gpio4_io_out_en[5];
assign PIN_42_out_data = gpio4_io_out_data[6];
assign PIN_42_out_en = gpio4_io_out_en[6];
assign PIN_24_out_data = gpio4_io_out_data[7];
assign PIN_24_out_en = gpio4_io_out_en[7];
(* keep = 1 *) wire [7:0] gpio4_io_in = {1'b0, 1'b0, 1'b0, PIN_57_in, PIN_56_in, PIN_52_in, PIN_51_in, 1'b0};

(* keep = 1 *) wire [7:0] gpio5_io_out_data;
(* keep = 1 *) wire [7:0] gpio5_io_out_en;
assign PIN_34_out_data = gpio5_io_out_data[0];
assign PIN_34_out_en = gpio5_io_out_en[0];
(* keep = 1 *) wire [7:0] gpio5_io_in = {1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0};

(* keep = 1 *) wire [7:0] gpio6_io_out_data;
(* keep = 1 *) wire [7:0] gpio6_io_out_en;
assign PIN_40_out_data = gpio6_io_out_data[0];
assign PIN_40_out_en = gpio6_io_out_en[0];
assign PIN_39_out_data = gpio6_io_out_data[2];
assign PIN_39_out_en = gpio6_io_out_en[2];
assign PIN_38_out_data = gpio6_io_out_data[4];
assign PIN_38_out_en = gpio6_io_out_en[4];
assign PIN_37_out_data = gpio6_io_out_data[5];
assign PIN_37_out_en = gpio6_io_out_en[5];
assign PIN_41_out_data = gpio6_io_out_data[6];
assign PIN_41_out_en = gpio6_io_out_en[6];
(* keep = 1 *) wire [7:0] gpio6_io_in = {1'b0, PIN_41_in, PIN_37_in, PIN_38_in, PIN_62_in, PIN_39_in, PIN_58_in, PIN_40_in};

(* keep = 1 *) wire [7:0] gpio7_io_out_data;
(* keep = 1 *) wire [7:0] gpio7_io_out_en;
assign PIN_59_out_data = gpio7_io_out_data[6];
assign PIN_59_out_en = gpio7_io_out_en[6];
(* keep = 1 *) wire [7:0] gpio7_io_in = {1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0};

(* keep = 1 *) wire [7:0] gpio8_io_out_data;
(* keep = 1 *) wire [7:0] gpio8_io_out_en;
assign PIN_61_out_data = gpio8_io_out_data[0];
assign PIN_61_out_en = gpio8_io_out_en[0];
(* keep = 1 *) wire [7:0] gpio8_io_in = {1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0};

(* keep = 1 *) wire [7:0] gpio9_io_out_data;
(* keep = 1 *) wire [7:0] gpio9_io_out_en;
(* keep = 1 *) wire [7:0] gpio9_io_in = {1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0};

alta_rv32 rv32(
  .sys_clk            (sys_clk                                         ),
  .sys_ctrl_stop      (sys_ctrl_stop                                   ),
  .sys_ctrl_clkSource (sys_ctrl_clkSource                              ),
  .resetn_out         (sys_resetn                                      ),
  .sys_ctrl_pllEnable (PLL_ENABLE                                      ),
  .sys_ctrl_pllReady  (PLL_LOCK                                        ),
  .ext_resetn         (1'b1                                            ),
  .test_mode          (2'b0                                            ),
  .usb0_xcvr_clk      (usb0_xcvr_clk                                   ),
  .usb0_id            (1'b1                                            ),
  .ext_int            ({1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0, 1'b0}),
  .mem_ahb_htrans     (mem_ahb_htrans                                  ),
  .mem_ahb_hready     (mem_ahb_hready                                  ),
  .mem_ahb_hwrite     (mem_ahb_hwrite                                  ),
  .mem_ahb_haddr      (mem_ahb_haddr                                   ),
  .mem_ahb_hsize      (mem_ahb_hsize                                   ),
  .mem_ahb_hburst     (mem_ahb_hburst                                  ),
  .mem_ahb_hwdata     (mem_ahb_hwdata                                  ),
  .mem_ahb_hreadyout  (mem_ahb_hreadyout                               ),
  .mem_ahb_hresp      (mem_ahb_hresp                                   ),
  .mem_ahb_hrdata     (mem_ahb_hrdata                                  ),
  .slave_ahb_hsel     (slave_ahb_hsel                                  ),
  .slave_ahb_hready   (slave_ahb_hready                                ),
  .slave_ahb_hreadyout(slave_ahb_hreadyout                             ),
  .slave_ahb_htrans   (slave_ahb_htrans                                ),
  .slave_ahb_hsize    (slave_ahb_hsize                                 ),
  .slave_ahb_hburst   (slave_ahb_hburst                                ),
  .slave_ahb_hwrite   (slave_ahb_hwrite                                ),
  .slave_ahb_haddr    (slave_ahb_haddr                                 ),
  .slave_ahb_hwdata   (slave_ahb_hwdata                                ),
  .slave_ahb_hresp    (slave_ahb_hresp                                 ),
  .slave_ahb_hrdata   (slave_ahb_hrdata                                ),
  .ext_dma_DMACBREQ   (ext_dma_DMACBREQ                                ),
  .ext_dma_DMACLBREQ  (ext_dma_DMACLBREQ                               ),
  .ext_dma_DMACSREQ   (ext_dma_DMACSREQ                                ),
  .ext_dma_DMACLSREQ  (ext_dma_DMACLSREQ                               ),
  .ext_dma_DMACCLR    (ext_dma_DMACCLR                                 ),
  .ext_dma_DMACTC     (ext_dma_DMACTC                                  ),
  .local_int          (local_int                                       ),
  .gpio0_io_in        (gpio0_io_in                                     ),
  .gpio0_io_out_data  (gpio0_io_out_data                               ),
  .gpio0_io_out_en    (gpio0_io_out_en                                 ),
  .gpio1_io_in        (gpio1_io_in                                     ),
  .gpio1_io_out_data  (gpio1_io_out_data                               ),
  .gpio1_io_out_en    (gpio1_io_out_en                                 ),
  .gpio2_io_in        (gpio2_io_in                                     ),
  .gpio2_io_out_data  (gpio2_io_out_data                               ),
  .gpio2_io_out_en    (gpio2_io_out_en                                 ),
  .gpio3_io_in        (gpio3_io_in                                     ),
  .gpio3_io_out_data  (gpio3_io_out_data                               ),
  .gpio3_io_out_en    (gpio3_io_out_en                                 ),
  .gpio4_io_in        (gpio4_io_in                                     ),
  .gpio4_io_out_data  (gpio4_io_out_data                               ),
  .gpio4_io_out_en    (gpio4_io_out_en                                 ),
  .gpio5_io_in        (gpio5_io_in                                     ),
  .gpio5_io_out_data  (gpio5_io_out_data                               ),
  .gpio5_io_out_en    (gpio5_io_out_en                                 ),
  .gpio6_io_in        (gpio6_io_in                                     ),
  .gpio6_io_out_data  (gpio6_io_out_data                               ),
  .gpio6_io_out_en    (gpio6_io_out_en                                 ),
  .gpio7_io_in        (gpio7_io_in                                     ),
  .gpio7_io_out_data  (gpio7_io_out_data                               ),
  .gpio7_io_out_en    (gpio7_io_out_en                                 ),
  .gpio8_io_in        (gpio8_io_in                                     ),
  .gpio8_io_out_data  (gpio8_io_out_data                               ),
  .gpio8_io_out_en    (gpio8_io_out_en                                 ),
  .gpio9_io_in        (gpio9_io_in                                     ),
  .gpio9_io_out_data  (gpio9_io_out_data                               ),
  .gpio9_io_out_en    (gpio9_io_out_en                                 )
);

endmodule

